package com.zy.pojo;

/**
 * Created with IntelliJ IDEA.
 * User: xiaoqi
 * Date: 2021/6/5
 * Time: 下午 13:31
 * Description: 角色表
 */
public class Role {
    private Integer id;
    private Integer empId;
    private String roleName;

    public Role() {
    }

    public Role(Integer id, Integer empId, String roleName) {
        this.id = id;
        this.empId = empId;
        this.roleName = roleName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", empId=" + empId +
                ", roleName='" + roleName + '\'' +
                '}';
    }
}